import java.rmi.*;
import java.util.ArrayList;
import java.util.HashMap;

public interface RMI_ClientInterface extends Remote
{
    public void logged(String username) throws RemoteException;
    public void setUsername(String username) throws RemoteException;
    public String getUsername() throws RemoteException;
    public String getIP() throws RemoteException;
    public void postResponse(String information) throws RemoteException;
    public void postAuthenticationError(String information) throws RemoteException;
    public void update(ArrayList<RepFile> files,ArrayList<String> users, HashMap<String,ArrayList<String>> editCopies, HashMap<String,ArrayList<String>> readCopies) throws RemoteException;
    public void fileDeleted(String fileName) throws RemoteException;
    public void fileUpdated(String fileName) throws RemoteException;
    
}
